<script>
	export let title = '@svelte/gl';

	// 这将在“title”的prop属性更改时
	// 更新“document.title”
	$: document.title = title;

	$: {
		console.log('multiple statements can be combined');
		console.log(`the current title is ${title}`);
	}
	export let index = 1;
	export let size = 1;
	const facelist = ['=>', '=|', '>:('];
</script>

<div style="font-size:{size}em">{facelist[index]}</div>
